home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
Mac shareware
/
Education
/
RLaB
/
help
/
int
< prev
next >
Wrap
Text File
|
1994-09-21
|
369b
|
21 lines
int:
Syntax: int ( a )
Description:
Int returns it's argument after it has been "cast" to an
integer. If the argument is a MATRIX then the int operation is
performed on an element-by-element basis.
int() has the effect of truncating the input, for example:
> int(1.1)
1
> int(1.5)
1
> int(1.999)
1
See Also: ceil, floor